package com.techsoul.module.pms.pojo.param;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * 仓储费率配置 保存参数
 * 
 * @author liuen
 * @date 2023-02-13
 */
@Data
@Accessors(chain = true)
public class ChargeConfigSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("客户编码 外键customer表")
    private String customerId;

    @ApiModelProperty("")
    private String id;
    @ApiModelProperty("合同名称")
    private String contractName;
    @ApiModelProperty("合同编号")
    private String contractNo;
    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("")
    private String customerName;

    @ApiModelProperty("费用编码，仓储费，包装费 ，叉车费。需要一个表维护，我们的tms项目中有，可以搬过来该表")
    private String frtNo;

    @ApiModelProperty("费用名称")
    private String frtName;

    @ApiModelProperty("结算基于 pack包装qty数量、vol 面积，weight重量，固定一个价格，就是同意价。")
    private String settleBy;

    @ApiModelProperty("结算时间，按天按月")
    private String chargeTimeBy;

    @ApiModelProperty("金额，也可以百分比")
    private Double amount;

    @ApiModelProperty("金额还是百分比 amt/ %")
    private String chargeType;

    @ApiModelProperty("客户类型")
    private String customerType;

    @ApiModelProperty("物料编码")
    private String materialNo;
    @ApiModelProperty("入库费还是出库费")
    private String inAndOutCharge;

    @ApiModelProperty("有效期到")
    private Date validUntil;

    @ApiModelProperty("转换单位")
    private BigDecimal convertQuantity;

    @ApiModelProperty("开始数量")
    private BigDecimal startQuantity;

    @ApiModelProperty("最大数量")
    private BigDecimal endQuantity;

    @ApiModelProperty("有效期开始日")
    private Date startDateFrom;

}
